From c72311d01a827a61d6d3d786416ddb442076d73a Mon Sep 17 00:00:00 2001 From: Sebastien Castiel Date: Wed, 6 Dec 2023 12:39:54 -0500 Subject: Better loading behavior --- src/app/groups/[groupId]/edit/page.tsx | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'src/app/groups/[groupId]/edit/page.tsx') diff --git a/src/app/groups/[groupId]/edit/page.tsx b/src/app/groups/[groupId]/edit/page.tsx index 23bd865..f902428 100644 --- a/src/app/groups/[groupId]/edit/page.tsx +++ b/src/app/groups/[groupId]/edit/page.tsx @@ -1,9 +1,6 @@ import { GroupForm } from '@/components/group-form' -import { Button } from '@/components/ui/button' import { getGroup, updateGroup } from '@/lib/api' import { groupFormSchema } from '@/lib/schemas' -import { ChevronLeft } from 'lucide-react' -import Link from 'next/link' import { notFound, redirect } from 'next/navigation' export default async function EditGroupPage({ @@ -21,16 +18,5 @@ export default async function EditGroupPage({ redirect(`/groups/${group.id}`) } - return ( -
-
- -
- -
- ) + return } -- cgit v1.3